package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {


    void saveWithFlavor(DishDTO dishDTO);

    PageResult dishPageQuery(DishPageQueryDTO dishPageQueryDTO);

    void deleteBatch(List<Long> ids);

    DishVO getById(Long dishId);

    void updateWithFlavor(DishDTO dishDTO);

    void status(Integer status, Long id);

    List<DishVO> listWithFlavor(Dish dish);

    List<Dish> getByCategoryId(Long categoryId);

}
